package Main;

import java.util.ArrayList;
import java.util.List;

public class Try4 {
    public static void main(String[] args) {
        List<Integer> numberList = getList(100);

        List<String> mineList = new ArrayList<>();

        mineList = new ArrayList<>();
        for (int j=0;j<4;j++){
            for (int i=0;i<numberList.size();i++){
                mineList.add("\"img/source/"+numberList.get(i)+".jpg\"");
            }
        }
        System.out.println(mineList);

        mineList = new ArrayList<>();
        for (int j=0;j<4;j++){
            for (int i=0;i<numberList.size();i++){
                mineList.add("\"img/target/"+numberList.get(i)+".jpg\"");
            }
        }
        System.out.println(mineList);

        List<String> BList = new ArrayList<>();
        for (int i=0;i<numberList.size();i++){
            BList.add("\"img/cpvton/"+numberList.get(i)+".jpg\"");
        }
        for (int i=0;i<numberList.size();i++){
            BList.add("\"img/cpvton_plus/"+numberList.get(i)+".jpg\"");
        }
        for (int i=0;i<numberList.size();i++){
            BList.add("\"img/acgan/"+numberList.get(i)+".jpg\"");
        }
        for (int i=0;i<numberList.size();i++){
            BList.add("\"img/clothflow/"+numberList.get(i)+".png\"");
        }

        List<String> AList = new ArrayList<>();
        for (int j=0;j<4;j++){
            for (int i=0;i<numberList.size();i++){
                AList.add("\"img/mine/"+numberList.get(i)+".png\"");
            }
        }

        List<String> CList = new ArrayList<>();
        List<String> DList = new ArrayList<>();

        for (int i=0;i<AList.size();i++){
            int b = (int) (Math.random()*(4));
//            System.out.println(b);
            if (b<=1){
                CList.add(AList.get(i));
                DList.add(BList.get(i));
            }else {
                CList.add(BList.get(i));
                DList.add(AList.get(i));
            }
        }
        System.out.println(CList);
        System.out.println(DList);

    }

    public static List<Integer> getList(int count){
        List<Integer> list = new ArrayList<>();
        for (int i=0;i<count;i++){
            list.add((int) (Math.random()*(2021+1)));
        }
        return list;
    }
}
